package cn.sm1234.service;


import com.example.pojo.Customer;

import java.util.List;

/**
 * @author http://www.sm1234.cn
 * @version 1.0
 * @description cn.sm1234.service
 * @date 18/4/1
 */
public interface CustomerService {
    public void save(Customer customer);

    public List<Customer> selectByID(String id);

    public Customer mySelectByID(String id);

    public Customer mySelectByIDAndName(String id,String name);

    public Customer mySelectByPojo(Customer customer);

    public Customer mySelectByPojo2(Customer customer);

    public Integer myInsert(Customer customer);


    public Customer queryByExample(Customer customer);

    public Customer queryByCondition(Customer customer);

    public Customer queryByName(String name);
}
